﻿using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;

namespace Trackr.Core.Entities
{
    public class Day
    {
        public DateTime Date { get; private set; }
        public string DisplayDate {get { return Date.ToString("dd ddd"); }}
        public ObservableCollection<Model.TimeItem> TimeEntries { get; set; }
        public bool IsCurrent { get; set; }

        public Day(DateTime date, ObservableCollection<Model.TimeItem> dayTimeEntries)
        {
            Date = date;
            TimeEntries = dayTimeEntries;
        }
    }
}
